package net.uzen.office.photo.model;

import org.springframework.web.multipart.MultipartFile;

import net.uzen.office.common.UzenOfficeConstants;
import net.uzen.office.common.model.Base;

public class Photo extends Base {
	private int seq;
	private String photoId;
	private String title;
	private String description;
	private String api_key;
	private String auth_token;
	private String api_sig;
	private String frob;
	private String secret;
	private String token;
	private String tags;
	private int is_public;
	private int is_friend;
	private int is_family;
	private int safety_level;
	private int content_type;
	private int hidden;
	private String mode;

	private MultipartFile photo;

	public Photo() {
		this.api_key = UzenOfficeConstants.FLICKR_API_KEY;
		this.secret = UzenOfficeConstants.FLICKR_SECRET;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public int getSeq() {
		return seq;
	}

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getPhotoId() {
		return photoId;
	}

	public void setPhotoId(String photoId) {
		this.photoId = photoId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getApi_key() {
		return api_key;
	}

	public void setApi_key(String apiKey) {
		api_key = apiKey;
	}

	public String getAuth_token() {
		return auth_token;
	}

	public void setAuth_token(String authToken) {
		auth_token = authToken;
	}

	public String getApi_sig() {
		return api_sig;
	}

	public void setApi_sig(String apiSig) {
		api_sig = apiSig;
	}

	public String getFrob() {
		return frob;
	}

	public void setFrob(String frob) {
		this.frob = frob;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public int getIs_public() {
		return is_public;
	}

	public void setIs_public(int isPublic) {
		is_public = isPublic;
	}

	public int getIs_friend() {
		return is_friend;
	}

	public void setIs_friend(int isFriend) {
		is_friend = isFriend;
	}

	public int getIs_family() {
		return is_family;
	}

	public void setIs_family(int isFamily) {
		is_family = isFamily;
	}

	public int getSafety_level() {
		return safety_level;
	}

	public void setSafety_level(int safetyLevel) {
		safety_level = safetyLevel;
	}

	public int getContent_type() {
		return content_type;
	}

	public void setContent_type(int contentType) {
		content_type = contentType;
	}

	public int getHidden() {
		return hidden;
	}

	public void setHidden(int hidden) {
		this.hidden = hidden;
	}

	public MultipartFile getPhoto() {
		return photo;
	}

	public void setPhoto(MultipartFile photo) {
		this.photo = photo;
	}

	@Override
	public String toString() {
		return "Photo [api_key=" + api_key + ", api_sig=" + api_sig
				+ ", auth_token=" + auth_token + ", content_type="
				+ content_type + ", description=" + description + ", frob="
				+ frob + ", hidden=" + hidden + ", is_family=" + is_family
				+ ", is_friend=" + is_friend + ", is_public=" + is_public
				+ ", mode=" + mode + ", photo=" + photo + ", photoId="
				+ photoId + ", safety_level=" + safety_level + ", seq=" + seq
				+ ", tags=" + tags + ", title=" + title + ", token=" + token
				+ "]";
	}

}
